package cn.hanyx.coder.design.pattern.behavioral.observer.demo01;

/**
 * Subject
 * 被观察者接口
 *
 * @author hanyx
 * @date 2020/06/02
 */
public interface Subject {

    void registerObjserver(Observer observer);

    void removeObjserver(Observer observer);

    void notifyObjservers(Message msg);
}
